import request from "@/utils/request";

// 获取设置
export function getSettingApi() {
  return request({
    url: "/get_setting",
    method: "get",
  });
}

// 更新设置
export function setSettingApi(data: any) {
  return request({
    url: "/update_setting",
    method: "put",
    data,
  });
}
